﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Serialization;

namespace BYRBBS.Model
{
    public class ArticleHead
    {
        [XmlElement("id")]
        public string Id { get; set; }
        [XmlElement("group_id")]
        public string Group_id { get; set; }
        [XmlElement("reply_id")]
        public string Reply_id { get; set; }
        [XmlElement("flag")]
        public string Flag { get; set; }
        [XmlElement("position")]
        public string Position { get; set; }
        [XmlElement("is_top")]
        public string Is_top { get; set; }
        [XmlElement("is_subject")]
        public string Is_subject { get; set; }
        [XmlElement("has_attachment")]
        public string Has_attachment { get; set; }
        [XmlElement("is_admin")]
        public string Is_admin { get; set; }
        [XmlElement("title")]
        public string Title { get; set; }

        [XmlElement("user")]
        public UserInfo author { get; set; }


        [XmlElement("post_time")]
        public string Post_time { get; set; }
        [XmlElement("board_name")]
        public string Board_name { get; set; }

        [XmlElement("reply_count")]
        public string Reply_count { get; set; }
        [XmlElement("last_reply_user_id")]
        public string Last_reply_user_id { get; set; }
        [XmlElement("last_reply_time")]
        public string Last_reply_time { get; set; }
    }
}
